package com.example.uiview_025;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
	
	public void alterDialogActivity(View view){
		Intent intent = new Intent(this, AlterDialogActivity.class);
		this.startActivity(intent);
	}
	

	public void customDialogActivity(View view){
		Intent intent = new Intent(this, AlterDialogActivity.class);
		this.startActivity(intent);
	}
	
	public void scrollViewActivity(View view){
		Intent intent = new Intent(this, ScrollViewActivity.class);
		this.startActivity(intent);
	}
	
	public void listViewActivity(View view){
		Intent intent = new Intent(this, ListViewActivity.class);
		this.startActivity(intent);
	}
	
	public void listViewAdapterActivity(View view){
		Intent intent = new Intent(this, ListViewAdapterActivity.class);
		this.startActivity(intent);
	}
	
	public void gridViewActivity(View view){
		Intent intent = new Intent(this, GridViewActivity.class);
		this.startActivity(intent);
	}
	
	public void gralleryActivity(View view){
		Intent intent = new Intent(this, GralleryActivity.class);
		this.startActivity(intent);
	}
	
	public void datePickerActivity(View view){
		Intent intent = new Intent(this, DatePickerActivity.class);
		this.startActivity(intent);
	}
	
	public void progressBarActivity(View view){
		Intent intent = new Intent(this, ProgressBarActivity.class);
		this.startActivity(intent);
	}
	
	
	public void progreddDialog(View view){
		Intent intent = new Intent(this, ProgressDialogActivity.class);
		this.startActivity(intent);
	}
	

}
